package com.pxxy.app_knowledge;

import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.ImageView;

import com.pxxy.lib_common.base.BaseActivity;
import com.pxxy.lib_common.customview.CustomTitleView;
import com.pxxy.security512.R;

public class KnowledgeCollectionActivity extends BaseActivity {
    private CustomTitleView customTitleView;
    private ImageView case_image;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public int initLayout() {
        return R.layout.activity_knowledge_collection;
    }

    @Override
    public void initView() {
        super.initView();
        customTitleView=findViewById(R.id.activity_knowledge_collection_customtitle);//找到title的id
        case_image=findViewById(R.id.iv_case_image);
    }

    @Override
    public void initEvent() {
        super.initEvent();
        //设置back的监听
        customTitleView.setLeftImageButtonListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        case_image.setVisibility(View.GONE);
        case_image.setVisibility(View.VISIBLE);
        //该用户暂无知识收藏

    }
}
